﻿using F23.StringSimilarity;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Runtime.CompilerServices;

var lcs = new MetricLCS();
//var d=1-lcs.Distance("中国人爱吃鱼", "湖北佬最喜吃鱼");
var d = 1 - lcs.Distance("湖北人最喜欢吃鱼", "湖北人来到江西后最喜欢吃鱼");
var d2 = 1 - lcs.Distance("最喜欢吃鱼的是湖北人", "湖北人最喜欢吃鱼");
//var d = lcs.Distance("中国人最喜吃鱼", "湖北佬最喜吃鱼");

Console.WriteLine($"{d}\r\n{d2}");

Console.WriteLine("开始");
Console.ReadLine();

